package com.leap.meeting.pojo;

public class Reservations {
    private int id;
    private int userId;//user_id
    private int roomId;//room_id
    private String status;


    public Reservations() {
    }

    public Reservations(int id, int userId, int roomId, String status) {
        this.id = id;
        this.userId = userId;
        this.roomId = roomId;
        this.status = status;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return userId
     */
    public int getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId
     */
    public void setUserId(int userId) {
        this.userId = userId;
    }

    /**
     * 获取
     * @return roomId
     */
    public int getRoomId() {
        return roomId;
    }

    /**
     * 设置
     * @param roomId
     */
    public void setRoomId(int roomId) {
        this.roomId = roomId;
    }

    /**
     * 获取
     * @return status
     */
    public String getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(String status) {
        this.status = status;
    }

    public String toString() {
        return "Reservations{id = " + id + ", userId = " + userId + ", roomId = " + roomId + ", status = " + status + "}";
    }
}
